// 协会党建api
import http from '../../config';
var querystring = require('querystring');
export default {
    // 获取分页
    getAssociationPartyPage(params) {
        return http.get(
            '/api/getAssociationPartyPage', {
            'params': params
        }
        );
    },
    //详情
    getAssociationParty(params) {
        return http.get(
            '/api/getAssociationParty', {
            'params': params
        }
        );
    },
    // 添加
    addAssociationParty(params) {
        return http.post(
            '/api/addAssociationParty', params
        );
    },
    //编辑
    modifyAssociationParty(params) {
        return http.post(
            '/api/modifyAssociationParty', params
        );
    },
    //删除
    deleteAssociationParty(params) {
        return http.post(
            '/api/deleteAssociationParty', params
        );
    },
    //撤回
    revokeAssociationParty(params) {
        return http.post(
            '/api/revokeAssociationParty', params
        );
    },
}